package com.tingyuge.base.thread.wang.chapter2;

/**
 * Created by xiaodao
 * date: 2019/11/28
 */
public class TicketTest2 {
    public static void main(String[] args) {
        TicketWindowRunable runable = new TicketWindowRunable();
        Thread thread1 = new Thread(runable,"一号窗口");
        thread1.start();
        Thread thread2 = new Thread(runable,"二号窗口");
        thread2.start();
        Thread thread3 = new Thread(runable,"三号窗口");
        thread3.start();
    }
}
